package com.yizhuoyan.his.dao;

import com.yizhuoyan.his.entity.CaseRegistrationRecordEntity;
import com.yizhuoyan.his.qco.CaseRegistrationRecordQco;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 病例挂号表(CaseRegistrationRecord)表数据库访问层
 *
 * @author yizhuoyan@yizhuoyan.com
 * @since 2020-02-19 15:02:05
 */
public interface CaseRegistrationRecordDao extends TemplateDao<Long,CaseRegistrationRecordEntity>{
    /**
     * 给我一个map 去模糊查询map里面的东西
     * @param qco
     * @return
     * @throws Exception
     * @throws NullPointerException
     */
    List<CaseRegistrationRecordEntity> selectCaseRegistrationRecord(CaseRegistrationRecordQco qco)throws Exception;

    /**
     * 根据病例号查询
     * @param caseNo
     * @return
     * @throws Exception
     */
    CaseRegistrationRecordEntity selectByCaseNO(Long caseNo)throws Exception;
}